//
//  TemplateInfo.swift
//  TemplateImageEditDemo
//
//  Created by liguandong on 2024/4/16.
//

import Foundation
import UIKit
let WALLPAPER_TEMPLATE_WIDTH : CGFloat = 1290
let WALLPAPER_TEMPLATE_HEIGHT : CGFloat = 2769
let WALLPAPER_TEMPLATE_RATIO = WALLPAPER_TEMPLATE_WIDTH / WALLPAPER_TEMPLATE_HEIGHT
class WallpaperEditInfo{
    // 背景图
    let bgImage : UIImage?
    //模板背景
    let backImage : UIImage?
    //模板前景
    let fontImage : UIImage?
    //模板图位置
    let imageInfos : [WallpaperImageInfo]
    init(bgImage: UIImage?, backImage: UIImage? = nil, fontImage: UIImage?, imageInfos: [WallpaperImageInfo]) {
        self.bgImage = bgImage
        self.backImage = backImage
        self.fontImage = fontImage
        self.imageInfos = imageInfos
    }
}
